package com.hs.sfzy.entity;
public class Systemuser {

  private long id;
  private String username;
  private String password;
  private String nickName;
  private String email;
  private String phone;
  private String img;
  private long role;

  public Systemuser() {
  }

  public Systemuser(long id, String username, String password, String nickName, String email, String phone, String img, long role) {
    this.id = id;
    this.username = username;
    this.password = password;
    this.nickName = nickName;
    this.email = email;
    this.phone = phone;
    this.img = img;
    this.role = role;
  }

  /**
   * 获取
   * @return id
   */
  public long getId() {
    return id;
  }

  /**
   * 设置
   * @param id
   */
  public void setId(long id) {
    this.id = id;
  }

  /**
   * 获取
   * @return username
   */
  public String getUsername() {
    return username;
  }

  /**
   * 设置
   * @param username
   */
  public void setUsername(String username) {
    this.username = username;
  }

  /**
   * 获取
   * @return password
   */
  public String getPassword() {
    return password;
  }

  /**
   * 设置
   * @param password
   */
  public void setPassword(String password) {
    this.password = password;
  }

  /**
   * 获取
   * @return nickName
   */
  public String getNickName() {
    return nickName;
  }

  /**
   * 设置
   * @param nickName
   */
  public void setNickName(String nickName) {
    this.nickName = nickName;
  }

  /**
   * 获取
   * @return email
   */
  public String getEmail() {
    return email;
  }

  /**
   * 设置
   * @param email
   */
  public void setEmail(String email) {
    this.email = email;
  }

  /**
   * 获取
   * @return phone
   */
  public String getPhone() {
    return phone;
  }

  /**
   * 设置
   * @param phone
   */
  public void setPhone(String phone) {
    this.phone = phone;
  }

  /**
   * 获取
   * @return img
   */
  public String getImg() {
    return img;
  }

  /**
   * 设置
   * @param img
   */
  public void setImg(String img) {
    this.img = img;
  }

  /**
   * 获取
   * @return role
   */
  public long getRole() {
    return role;
  }

  /**
   * 设置
   * @param role
   */
  public void setRole(long role) {
    this.role = role;
  }

  public String toString() {
    return "Systemuser{id = " + id + ", username = " + username + ", password = " + password + ", nickName = " + nickName + ", email = " + email + ", phone = " + phone + ", img = " + img + ", role = " + role + "}";
  }
}
